package com.dd.machine.main.user.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import static android.R.attr.id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2017/7/19.
 */

@Entity
public class Equeipment {

    /**
     * eId : 2
     * name : 齐鲁软件园回收机2号
     * address : 齐鲁软件园E212
     * type : recycle
     * equipmentNo : JINANDINGGAO
     * maker : 济南鼎高
     * makerPhone : 0531-67804963
     * makeTime : 1499923701000
     * batch : 1
     * fluxBalance : 15.22
     * goodsCubage : 2.36
     * goodsWeight : 6.23
     * goodsTotalPrice : 4
     * totalWeight : 1000
     * totalCubage : 1000
     * onlineStatus : 0
     * equipmentStatus : 2
     * barcodeUrl : https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQE-8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAycWdyaHRZbHZmUmoxMDAwMHcwN3oAAgTZlFhZAwQAAAAA
     * errCode : 0
     * lat : 36.657893
     * lng : 117.646547986
     * villageId : 1
     * disable : 1
     * createTime : 1499923701000
     * updateBy : 0
     * updateTime : 1500012447000
     */

    @Id
    private Long id;

    private int eId;
    private String name;
    private String address;
    private String type;
    private String equipmentNo;
    private String maker;
    private String makerPhone;
    private long makeTime;
    private String batch;
    private double fluxBalance;
    private double goodsCubage;
    private double goodsWeight;
    private int goodsTotalPrice;
    private int totalWeight;
    private int totalCubage;
    private int onlineStatus;
    private int equipmentStatus;
    private String barcodeUrl;
    private String errCode;
    private double lat;
    private double lng;
    private int villageId;
    private int disable;
    private long createTime;
    private int updateBy;
    private long updateTime;
    @Generated(hash = 813491787)
    public Equeipment(Long id, int eId, String name, String address, String type, String equipmentNo, String maker, String makerPhone, long makeTime, String batch,
            double fluxBalance, double goodsCubage, double goodsWeight, int goodsTotalPrice, int totalWeight, int totalCubage, int onlineStatus, int equipmentStatus,
            String barcodeUrl, String errCode, double lat, double lng, int villageId, int disable, long createTime, int updateBy, long updateTime) {
        this.id = id;
        this.eId = eId;
        this.name = name;
        this.address = address;
        this.type = type;
        this.equipmentNo = equipmentNo;
        this.maker = maker;
        this.makerPhone = makerPhone;
        this.makeTime = makeTime;
        this.batch = batch;
        this.fluxBalance = fluxBalance;
        this.goodsCubage = goodsCubage;
        this.goodsWeight = goodsWeight;
        this.goodsTotalPrice = goodsTotalPrice;
        this.totalWeight = totalWeight;
        this.totalCubage = totalCubage;
        this.onlineStatus = onlineStatus;
        this.equipmentStatus = equipmentStatus;
        this.barcodeUrl = barcodeUrl;
        this.errCode = errCode;
        this.lat = lat;
        this.lng = lng;
        this.villageId = villageId;
        this.disable = disable;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
    }
    @Generated(hash = 761110790)
    public Equeipment() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public int getEId() {
        return this.eId;
    }
    public void setEId(int eId) {
        this.eId = eId;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getEquipmentNo() {
        return this.equipmentNo;
    }
    public void setEquipmentNo(String equipmentNo) {
        this.equipmentNo = equipmentNo;
    }
    public String getMaker() {
        return this.maker;
    }
    public void setMaker(String maker) {
        this.maker = maker;
    }
    public String getMakerPhone() {
        return this.makerPhone;
    }
    public void setMakerPhone(String makerPhone) {
        this.makerPhone = makerPhone;
    }
    public long getMakeTime() {
        return this.makeTime;
    }
    public void setMakeTime(long makeTime) {
        this.makeTime = makeTime;
    }
    public String getBatch() {
        return this.batch;
    }
    public void setBatch(String batch) {
        this.batch = batch;
    }
    public double getFluxBalance() {
        return this.fluxBalance;
    }
    public void setFluxBalance(double fluxBalance) {
        this.fluxBalance = fluxBalance;
    }
    public double getGoodsCubage() {
        return this.goodsCubage;
    }
    public void setGoodsCubage(double goodsCubage) {
        this.goodsCubage = goodsCubage;
    }
    public double getGoodsWeight() {
        return this.goodsWeight;
    }
    public void setGoodsWeight(double goodsWeight) {
        this.goodsWeight = goodsWeight;
    }
    public int getGoodsTotalPrice() {
        return this.goodsTotalPrice;
    }
    public void setGoodsTotalPrice(int goodsTotalPrice) {
        this.goodsTotalPrice = goodsTotalPrice;
    }
    public int getTotalWeight() {
        return this.totalWeight;
    }
    public void setTotalWeight(int totalWeight) {
        this.totalWeight = totalWeight;
    }
    public int getTotalCubage() {
        return this.totalCubage;
    }
    public void setTotalCubage(int totalCubage) {
        this.totalCubage = totalCubage;
    }
    public int getOnlineStatus() {
        return this.onlineStatus;
    }
    public void setOnlineStatus(int onlineStatus) {
        this.onlineStatus = onlineStatus;
    }
    public int getEquipmentStatus() {
        return this.equipmentStatus;
    }
    public void setEquipmentStatus(int equipmentStatus) {
        this.equipmentStatus = equipmentStatus;
    }
    public String getBarcodeUrl() {
        return this.barcodeUrl;
    }
    public void setBarcodeUrl(String barcodeUrl) {
        this.barcodeUrl = barcodeUrl;
    }
    public String getErrCode() {
        return this.errCode;
    }
    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }
    public double getLat() {
        return this.lat;
    }
    public void setLat(double lat) {
        this.lat = lat;
    }
    public double getLng() {
        return this.lng;
    }
    public void setLng(double lng) {
        this.lng = lng;
    }
    public int getVillageId() {
        return this.villageId;
    }
    public void setVillageId(int villageId) {
        this.villageId = villageId;
    }
    public int getDisable() {
        return this.disable;
    }
    public void setDisable(int disable) {
        this.disable = disable;
    }
    public long getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
    public int getUpdateBy() {
        return this.updateBy;
    }
    public void setUpdateBy(int updateBy) {
        this.updateBy = updateBy;
    }
    public long getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }


}
